uListing\Lib\PayPal\Classes\PayPal B

Total Complexity 85
Dependencies 15
Dependents 4
Total lines 598
Lines of code 379
Logical lines of code 171
Comment lines 148
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
get_payment_script()
S
49 5 40
payment_subscription()
S
48 5 35
subscription_agreement_success()
S
49 5 31
createPlan()
S
52 5 24
synchronizationPlan()
S
57 5 16
paypal_synchronization_ajax()
S
59 5 13
update_plan_or_created()
S
61 5 11
init()
S
58 4 14
subscription_canceld()
S
60 4 12
getPlan()
S
55 3 20
getCurrencies()
S
48 2 31
get_api_context()
S
59 3 15
checkCurrency()
S
76 4 3
save_settings()
S
66 3 8
getPayPalPlanId()
S
70 3 5
delete_plan()
S
70 2 6
getMode()
S
67 2 7
__construct()
S
60 1 12
getPlanList()
S
80 1 3
add_payment_method_list()
S
74 1 4
getData()
S
76 1 4
getApiContext()
S
76 1 4
install()
S
91 1 2
get_payment_form()
S
77 1 3
getFrequency()
S
67 1 8
subscription_agreement_canceled()
S
71 1 7
uninstall()
S
91 1 2
setPayPalPlanId()
S
78 1 3
updatePlan()
S
70 1 7
get_active_mode()
S
75 1 4
add_payment_method()
S
74 1 4
getAgreement()
S
80 1 3
render_settings()
S
77 1 3
executeAgreement()
S
80 1 3
createAgreementForPlan()
S
72 1 6
deletePlan()
S
80 1 3
cancelAgreement()
S
80 1 3